package exception02;

/**
 * JVM默认处理异常方式
 */
public class ExceptionDemo01 {
    public static void main(String[] args) {
        int[] arr = {9, 11, 15};
        int i = method(arr);
        System.out.println(i);
    }

    public static int method(int[] arr) {
        return arr[5];
    }
}
